@forward "./assets/themes/index";

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar:horizontal {
    height: 7px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(144, 147, 153, 0.3);
    border-radius: 10px;
    transition: all .2s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(144, 147, 153, 0.5);
    cursor: pointer;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:focus-visible {
    outline: none;
}

html {
    --app-margin: 14px;
    --app-bg: #f0f2f5;
    --app-bg-light: var(--el-fill-color-light);
    --app-card-shadow: rgba(32, 32, 32, 0.05);
    --app-card-border: #fff;
}

html.dark {
    --app-bg: #171715;
    --app-card-shadow: rgba(23, 23, 21, 0.1);
    --app-card-border: var(--el-border-color-lighter);
}


html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    color: var(--el-text-color-primary);
    font-size: 13px;
    background-color: var(--app-bg);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

body {
    overflow-y: scroll;
}

#app {
    height: 100%;
}

.el-form {
    &.compact {
        .el-form-item {
            margin-bottom: 0;
            margin-right: var(--app-margin);

            .el-form-item__content {
                width: 220px;
            }
        }
    }
}

.el-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.el-input-number {
    .el-input__wrapper {
        padding-left: 8px !important;
    }

    .el-input__inner {
        text-align: left !important;
    }
}

